package com.book.management.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.book.business.entity.BookIndent;
import com.book.common.entity.QueryRequest;
import com.book.management.entity.SendBack;

import java.util.List;

/**
 * @Author: 何胤宏
 * @Description:  20173969
 */

public interface SendBackService extends IService<SendBack> {
    /**
     * @Date: 2021/3/21
     * @Description: 查所有
     * @Param: SendBack
     * @return: List<SendBack>
     */
    List<SendBack> listSendBack(SendBack sendBack);

    /**
     * @Date: 2021/3/21
     * @Description: 分页
     * @Param: Ipage
     * @return:
     */
    IPage<SendBack> sendBackPage(QueryRequest request, SendBack sendBack);

    /**
     * @Date: 2021/3/21
     * @Description: 添加
     * @Param: SendBack
     * @return: void
     */
    void addSendBack(SendBack sendBack);

    /**
     * @Date: 2021/3/21
     * @Description: 修改
     * @Param: SendBack
     * @return: void
     */
    void updateSendBack(SendBack sendBack);

    /**
     * @Date: 2021/3/21
     * @Description: 复选删除
     * @Param: SendBack
     * @return: List
     */
    void deleteSendBack(String[] sendBack);

    /**
    * @Date: 2021/3/23
    * @Description: 审批
    * @Param:
    * @return:
    */
    List<SendBack> applySendBack(String[] sendBack);
}
